import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "normalize.css";
import vantRegister from "./global/vant";
import "./style/index.scss";
import "amfe-flexible";
import "vant/lib/index.css";

// main.ts
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import axios from "axios";


const app = createApp(App)
//全局配置axios
axios.defaults.baseURL='http://106.54.189.155:6768'
// app.config.globalProperties.$http= axios
app.config.globalProperties.$axios=axios;
vantRegister(app);
app.use(ElementPlus).use(store).use(router).mount("#app");
